<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HAddSupportingMaterial.aspx.cs"
    Inherits="AB.ServiceDirectory.Design.SupportingMaterials.HAddSupportingMaterial"
    MasterPageFile="~/Site.Master" %>

<%@ Register TagPrefix="wuc" TagName="DialogBox" Src="~/WebUserControls/DialogBox.ascx" %>
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</asp:Content>
<asp:Content ID="ContentTitle" runat="server" ContentPlaceHolderID="ContentTitle">
    <h2>
        Supporting Material Details</h2>
</asp:Content>
<asp:Content ID="content" runat="server" ContentPlaceHolderID="content">
    <div class="grid740 simplebox relative">
        <wuc:DialogBox ID="DialogBox" runat="server" />
        <div id="tabs">
            <ul>
                <li>
                    <asp:HyperLink ID="LinkDetails01" runat="server" NavigateUrl="#PanelDetails01">Details</asp:HyperLink>
                </li>
            </ul>
            <span class="top-right-cornor">
                <asp:Button CssClass="st-button" ID="ButtonSave" runat="server" Text="Save" OnClick="ButtonSaveClick"
                    Enabled="False" />
                <asp:Button CssClass="st-button" ID="ButtonBack" runat="server" Text="Back" Enabled="False"
                    OnCommand="ButtonBack_Command" CausesValidation="False" />
            </span>
            <asp:Panel ID="PanelDetails01" runat="server" ClientIDMode="Static">
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelURL" runat="server" CssClass="st-labeltext level1" AssociatedControlID="TextBoxURL"
                            Height="16px" Text="URL">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorUrl" runat="server" ErrorMessage="*"
                                ControlToValidate="TextBoxURL" ForeColor="maroon"></asp:RequiredFieldValidator>
                        </asp:Label>
                        <asp:TextBox ID="TextBoxURL" CssClass="st-forminput" runat="server" Width="210px">
                        </asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorUrlFormat" runat="server"
                            ErrorMessage="Url is invalid" ForeColor="maroon" ControlToValidate="TextBoxURL"
                            ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
                    </div>
                    <div class="half last">
                        <asp:Label ID="LabelAddedBy" runat="server" Text="Added By" CssClass="st-labeltext level1"
                            AssociatedControlID="TextBoxAddedBy"></asp:Label><asp:TextBox ID="TextBoxAddedBy"
                                CssClass="st-forminput st-disable" runat="server" Width="210px" ReadOnly="true"></asp:TextBox></div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelDescription" runat="server" Text="Description" CssClass="st-labeltext level1"
                            AssociatedControlID="TextBoxDescription"></asp:Label>
                        <asp:TextBox ID="TextBoxDescription" CssClass="st-forminput" runat="server" Width="210px"
                            TextMode="MultiLine" Height="80px"></asp:TextBox></div>
                    <div class="half last">
                        <asp:Label ID="LabelAddedDate" runat="server" Text="Added Date" CssClass="st-labeltext level1"
                            AssociatedControlID="TextBoxAddedDate"></asp:Label><asp:TextBox ID="TextBoxAddedDate"
                                CssClass="st-forminput st-disable" runat="server" Width="210px" ReadOnly="true"></asp:TextBox></div>
                    <div class="clear">
                    </div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelType" runat="server" Text="Type" CssClass="st-labeltext level1"></asp:Label><asp:DropDownList
                            ID="DropDownListType" CssClass="st-forminput" runat="server" Width="210px">
                        </asp:DropDownList>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
